<template>
  <div class="sql-agent-setting" :class="{isCollapse:isCollapse}" @click="$router.push('/sql-agent/setting')">
    <i class="el-icon-setting" />
    <span>Settings</span>
  </div>
</template>
<script>
export default {
  props: {
    isCollapse: Boolean
  }
}
</script>
<style lang="scss" scoped>
.sql-agent-setting{
  display: flex;
  align-items: center;
  width: 200px;
  height: 60px;
  background: #FFFFFF;
  font-size: 24px;
  padding-left: 20px;
  box-sizing: border-box;
  color: rgba(0,0,0,0.25);
  cursor: pointer;
  span{
    font-size:14px;
    margin-left:18px;
  }
  &.isCollapse{
    display: flex;
    flex-direction: column;
    width: 60px;
    padding: 0;
    span{
      margin: 2px 0 0 0;
      font-size: 10px;
    }
  }
}
</style>
